﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<DIS_WEB_Client.ViewModels.GroupViewModel>" %>

<div id="top_nav_header">
    <div class="container">
        <div class="logo">
            <a href="<%= Url.Action("Index", "Home") %>">
                <img src="../../../Content/Images/logo.png" width="129" height="129" alt="Go to home page">
            </a>
        </div>
        <div class="slogan">
            <a href="<%= Url.Action("Index", "Home") %>">                       
                    <img src="../../../Content/Images/slogan.png" width="333" height="129" alt="Go to home page">                  
            </a>
        </div>
        <div class="right_container">
            <div style="text-align:right; margin-bottom:3px">
                <a href="<%= Url.Action("Index", "Home") %>">
                    &nbsp;</a></div>
        </div>
    </div>
    <div class="hl">
        <img src="../../../Content/Images/hl.jpg" width="880" height="2" alt="design_image">
    </div>
</div>
<div id="top_nav_header_menu">
    <div class="container">
        <div class="leftCorner"></div>
        <div class="center">                       
            <ul>
                <% for (int i = 0; i < Model.CategoryModel.GetModel.LstObjModel.Count; i++)
                   {
                       if (i < Model.CategoryModel.GetModel.LstObjModel.Count - 1)
                       {%>
                        <li>
                            <a href="<%= Url.Action("Products", "Home", new { idCate = Model.CategoryModel.GetModel.LstObjModel[i].ID }) %>" id="cat_542"><%= Model.CategoryModel.GetModel.LstObjModel[i].Name %></a>
                        </li>
                        <li style="padding:0px">
                            <img src="../../../Content/Images/nav_sep.png" width="2" height="27" alt="design_image">
                        </li> 
                    <% }
                       else
                       { %>
                        <li>
                            <a href="<%= Url.Action("Products", "Home", new { idCate = Model.CategoryModel.GetModel.LstObjModel[i].ID }) %>" id="A1"><%= Model.CategoryModel.GetModel.LstObjModel[i].Name %></a>
                        </li>
                    <% } %>
                <% } %>
            </ul>
            <!-- End of New Top Navigation with Drop Down menu -->
        </div>
        <div class="rightCorner"></div>
    </div>
</div>